#pragma once
#include "mprpcchannel.h"
#include "mprpcconfig.h"
#include "mprpccontroller.h"
#include "rpcprovider.h"
// mprpc 框架初始化
class MprpcApplication {
public:
  static void Init(int argc, char **argv);
  static MprpcApplication &GetInstance();
  static MprpcConfig &GetConfig();

private:
  static MprpcConfig m_config;
  MprpcApplication();
  MprpcApplication(const MprpcApplication &) = delete;
  MprpcApplication(const MprpcApplication &&) = delete;
}; // class MprpcApplication